enum Car{
    lamborgini,tata,mahindra;
}
public class Main19 {
    public static void main(String args[]){
        Car c;
        c=Car.tata;
        switch (c){
            case lamborgini:
                System.out.println("car is lamborgini");
                break;
            case tata:
                System.out.println("car is tata");
                break;
            case mahindra:
                System.out.println("car is mahindra");
                break;
            default:
                System.out.println("car is not found");
        }
    }
}
